package com.hlbb.domain.bean;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Camaster entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TBL_TEST_CAMASTER", schema = "BGADMIN")
public class Camaster implements java.io.Serializable {

	// Fields

	private CamasterId id;
	private Integer laststatementdate;
	private String customername;
	private String addressline1;
	private String addressline2;
	private String addressline3;
	private String addressline4;
	private String addressline5;
	private String branchid;
	private String branchnumber;
	private String branchname;
	private String telephonenumber;
	private String accountstatus;
	private String ledgerbalance;
	private String negativemask;
	private String currencycode;
	private String numberocredit;
	private String amountofcredit;
	private String numberofdebit;
	private String amountofdebit;
	private String totalamount;
	private String totalcount;
	private String productcode;
	private String productdescription;
	private Long dob;
	private String isflag;
	private String holdmail;
	private String supressmail;
	private String foreignaddress;
	private String postcode;
	private String regioncode;
	private String postcodeflag;
	private String emailaddress;
	private String rebatecarryforward;
	private String rebateearn;
	private String rebateredeem;
	private String rebateoutstanding;
	private String rebatesexpirydate;
	private String combinestatement;
	private String proirityorprivate;
	private String msclass;
	private String machproduct;
	private String shareproduct;
	private String hongleongoneaccount;
	private String payrollaccount;
	private String EStatement;
	private String hlbStaff;
	private String filler;
	private Date createdate;
	private BigDecimal rawrunid;

	// Constructors

	/** default constructor */
	public Camaster() {
	}

	/** minimal constructor */
	public Camaster(CamasterId id) {
		this.id = id;
	}

	/** full constructor */
	public Camaster(CamasterId id, Integer laststatementdate,
			String customername, String addressline1, String addressline2,
			String addressline3, String addressline4, String addressline5,
			String branchid, String branchnumber, String branchname,
			String telephonenumber, String accountstatus, String ledgerbalance,
			String negativemask, String currencycode, String numberocredit,
			String amountofcredit, String numberofdebit, String amountofdebit,
			String totalamount, String totalcount, String productcode,
			String productdescription, Long dob, String isflag,
			String holdmail, String supressmail, String foreignaddress,
			String postcode, String regioncode, String postcodeflag,
			String emailaddress, String rebatecarryforward, String rebateearn,
			String rebateredeem, String rebateoutstanding,
			String rebatesexpirydate, String combinestatement,
			String proirityorprivate, String msclass, String machproduct,
			String shareproduct, String hongleongoneaccount,
			String payrollaccount, String EStatement, String hlbStaff,
			String filler, Date createdate, BigDecimal rawrunid) {
		this.id = id;
		this.laststatementdate = laststatementdate;
		this.customername = customername;
		this.addressline1 = addressline1;
		this.addressline2 = addressline2;
		this.addressline3 = addressline3;
		this.addressline4 = addressline4;
		this.addressline5 = addressline5;
		this.branchid = branchid;
		this.branchnumber = branchnumber;
		this.branchname = branchname;
		this.telephonenumber = telephonenumber;
		this.accountstatus = accountstatus;
		this.ledgerbalance = ledgerbalance;
		this.negativemask = negativemask;
		this.currencycode = currencycode;
		this.numberocredit = numberocredit;
		this.amountofcredit = amountofcredit;
		this.numberofdebit = numberofdebit;
		this.amountofdebit = amountofdebit;
		this.totalamount = totalamount;
		this.totalcount = totalcount;
		this.productcode = productcode;
		this.productdescription = productdescription;
		this.dob = dob;
		this.isflag = isflag;
		this.holdmail = holdmail;
		this.supressmail = supressmail;
		this.foreignaddress = foreignaddress;
		this.postcode = postcode;
		this.regioncode = regioncode;
		this.postcodeflag = postcodeflag;
		this.emailaddress = emailaddress;
		this.rebatecarryforward = rebatecarryforward;
		this.rebateearn = rebateearn;
		this.rebateredeem = rebateredeem;
		this.rebateoutstanding = rebateoutstanding;
		this.rebatesexpirydate = rebatesexpirydate;
		this.combinestatement = combinestatement;
		this.proirityorprivate = proirityorprivate;
		this.msclass = msclass;
		this.machproduct = machproduct;
		this.shareproduct = shareproduct;
		this.hongleongoneaccount = hongleongoneaccount;
		this.payrollaccount = payrollaccount;
		this.EStatement = EStatement;
		this.hlbStaff = hlbStaff;
		this.filler = filler;
		this.createdate = createdate;
		this.rawrunid = rawrunid;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "accountnumber", column = @Column(name = "ACCOUNTNUMBER", nullable = false, length = 19)),
			@AttributeOverride(name = "currentstatementdate", column = @Column(name = "CURRENTSTATEMENTDATE", nullable = false, precision = 6, scale = 0)) })
	public CamasterId getId() {
		return this.id;
	}

	public void setId(CamasterId id) {
		this.id = id;
	}

	@Column(name = "LASTSTATEMENTDATE", precision = 6, scale = 0)
	public Integer getLaststatementdate() {
		return this.laststatementdate;
	}

	public void setLaststatementdate(Integer laststatementdate) {
		this.laststatementdate = laststatementdate;
	}

	@Column(name = "CUSTOMERNAME", length = 40)
	public String getCustomername() {
		return this.customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	@Column(name = "ADDRESSLINE1", length = 40)
	public String getAddressline1() {
		return this.addressline1;
	}

	public void setAddressline1(String addressline1) {
		this.addressline1 = addressline1;
	}

	@Column(name = "ADDRESSLINE2", length = 40)
	public String getAddressline2() {
		return this.addressline2;
	}

	public void setAddressline2(String addressline2) {
		this.addressline2 = addressline2;
	}

	@Column(name = "ADDRESSLINE3", length = 40)
	public String getAddressline3() {
		return this.addressline3;
	}

	public void setAddressline3(String addressline3) {
		this.addressline3 = addressline3;
	}

	@Column(name = "ADDRESSLINE4", length = 40)
	public String getAddressline4() {
		return this.addressline4;
	}

	public void setAddressline4(String addressline4) {
		this.addressline4 = addressline4;
	}

	@Column(name = "ADDRESSLINE5", length = 40)
	public String getAddressline5() {
		return this.addressline5;
	}

	public void setAddressline5(String addressline5) {
		this.addressline5 = addressline5;
	}

	@Column(name = "BRANCHID", length = 10)
	public String getBranchid() {
		return this.branchid;
	}

	public void setBranchid(String branchid) {
		this.branchid = branchid;
	}

	@Column(name = "BRANCHNUMBER", length = 5)
	public String getBranchnumber() {
		return this.branchnumber;
	}

	public void setBranchnumber(String branchnumber) {
		this.branchnumber = branchnumber;
	}

	@Column(name = "BRANCHNAME", length = 40)
	public String getBranchname() {
		return this.branchname;
	}

	public void setBranchname(String branchname) {
		this.branchname = branchname;
	}

	@Column(name = "TELEPHONENUMBER", length = 30)
	public String getTelephonenumber() {
		return this.telephonenumber;
	}

	public void setTelephonenumber(String telephonenumber) {
		this.telephonenumber = telephonenumber;
	}

	@Column(name = "ACCOUNTSTATUS", length = 1)
	public String getAccountstatus() {
		return this.accountstatus;
	}

	public void setAccountstatus(String accountstatus) {
		this.accountstatus = accountstatus;
	}

	@Column(name = "LEDGERBALANCE", length = 15)
	public String getLedgerbalance() {
		return this.ledgerbalance;
	}

	public void setLedgerbalance(String ledgerbalance) {
		this.ledgerbalance = ledgerbalance;
	}

	@Column(name = "NEGATIVEMASK", length = 2)
	public String getNegativemask() {
		return this.negativemask;
	}

	public void setNegativemask(String negativemask) {
		this.negativemask = negativemask;
	}

	@Column(name = "CURRENCYCODE", length = 4)
	public String getCurrencycode() {
		return this.currencycode;
	}

	public void setCurrencycode(String currencycode) {
		this.currencycode = currencycode;
	}

	@Column(name = "NUMBEROCREDIT", length = 5)
	public String getNumberocredit() {
		return this.numberocredit;
	}

	public void setNumberocredit(String numberocredit) {
		this.numberocredit = numberocredit;
	}

	@Column(name = "AMOUNTOFCREDIT", length = 15)
	public String getAmountofcredit() {
		return this.amountofcredit;
	}

	public void setAmountofcredit(String amountofcredit) {
		this.amountofcredit = amountofcredit;
	}

	@Column(name = "NUMBEROFDEBIT", length = 5)
	public String getNumberofdebit() {
		return this.numberofdebit;
	}

	public void setNumberofdebit(String numberofdebit) {
		this.numberofdebit = numberofdebit;
	}

	@Column(name = "AMOUNTOFDEBIT", length = 15)
	public String getAmountofdebit() {
		return this.amountofdebit;
	}

	public void setAmountofdebit(String amountofdebit) {
		this.amountofdebit = amountofdebit;
	}

	@Column(name = "TOTALAMOUNT", length = 7)
	public String getTotalamount() {
		return this.totalamount;
	}

	public void setTotalamount(String totalamount) {
		this.totalamount = totalamount;
	}

	@Column(name = "TOTALCOUNT", length = 7)
	public String getTotalcount() {
		return this.totalcount;
	}

	public void setTotalcount(String totalcount) {
		this.totalcount = totalcount;
	}

	@Column(name = "PRODUCTCODE", length = 10)
	public String getProductcode() {
		return this.productcode;
	}

	public void setProductcode(String productcode) {
		this.productcode = productcode;
	}

	@Column(name = "PRODUCTDESCRIPTION", length = 50)
	public String getProductdescription() {
		return this.productdescription;
	}

	public void setProductdescription(String productdescription) {
		this.productdescription = productdescription;
	}

	@Column(name = "DOB", precision = 10, scale = 0)
	public Long getDob() {
		return this.dob;
	}

	public void setDob(Long dob) {
		this.dob = dob;
	}

	@Column(name = "ISFLAG", length = 2)
	public String getIsflag() {
		return this.isflag;
	}

	public void setIsflag(String isflag) {
		this.isflag = isflag;
	}

	@Column(name = "HOLDMAIL", length = 1)
	public String getHoldmail() {
		return this.holdmail;
	}

	public void setHoldmail(String holdmail) {
		this.holdmail = holdmail;
	}

	@Column(name = "SUPRESSMAIL", length = 1)
	public String getSupressmail() {
		return this.supressmail;
	}

	public void setSupressmail(String supressmail) {
		this.supressmail = supressmail;
	}

	@Column(name = "FOREIGNADDRESS", length = 1)
	public String getForeignaddress() {
		return this.foreignaddress;
	}

	public void setForeignaddress(String foreignaddress) {
		this.foreignaddress = foreignaddress;
	}

	@Column(name = "POSTCODE", length = 5)
	public String getPostcode() {
		return this.postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	@Column(name = "REGIONCODE", length = 3)
	public String getRegioncode() {
		return this.regioncode;
	}

	public void setRegioncode(String regioncode) {
		this.regioncode = regioncode;
	}

	@Column(name = "POSTCODEFLAG", length = 1)
	public String getPostcodeflag() {
		return this.postcodeflag;
	}

	public void setPostcodeflag(String postcodeflag) {
		this.postcodeflag = postcodeflag;
	}

	@Column(name = "EMAILADDRESS", length = 80)
	public String getEmailaddress() {
		return this.emailaddress;
	}

	public void setEmailaddress(String emailaddress) {
		this.emailaddress = emailaddress;
	}

	@Column(name = "REBATECARRYFORWARD", length = 15)
	public String getRebatecarryforward() {
		return this.rebatecarryforward;
	}

	public void setRebatecarryforward(String rebatecarryforward) {
		this.rebatecarryforward = rebatecarryforward;
	}

	@Column(name = "REBATEEARN", length = 15)
	public String getRebateearn() {
		return this.rebateearn;
	}

	public void setRebateearn(String rebateearn) {
		this.rebateearn = rebateearn;
	}

	@Column(name = "REBATEREDEEM", length = 15)
	public String getRebateredeem() {
		return this.rebateredeem;
	}

	public void setRebateredeem(String rebateredeem) {
		this.rebateredeem = rebateredeem;
	}

	@Column(name = "REBATEOUTSTANDING", length = 15)
	public String getRebateoutstanding() {
		return this.rebateoutstanding;
	}

	public void setRebateoutstanding(String rebateoutstanding) {
		this.rebateoutstanding = rebateoutstanding;
	}

	@Column(name = "REBATESEXPIRYDATE", length = 6)
	public String getRebatesexpirydate() {
		return this.rebatesexpirydate;
	}

	public void setRebatesexpirydate(String rebatesexpirydate) {
		this.rebatesexpirydate = rebatesexpirydate;
	}

	@Column(name = "COMBINESTATEMENT", length = 2)
	public String getCombinestatement() {
		return this.combinestatement;
	}

	public void setCombinestatement(String combinestatement) {
		this.combinestatement = combinestatement;
	}

	@Column(name = "PROIRITYORPRIVATE", length = 2)
	public String getProirityorprivate() {
		return this.proirityorprivate;
	}

	public void setProirityorprivate(String proirityorprivate) {
		this.proirityorprivate = proirityorprivate;
	}

	@Column(name = "MSCLASS", length = 2)
	public String getMsclass() {
		return this.msclass;
	}

	public void setMsclass(String msclass) {
		this.msclass = msclass;
	}

	@Column(name = "MACHPRODUCT", length = 2)
	public String getMachproduct() {
		return this.machproduct;
	}

	public void setMachproduct(String machproduct) {
		this.machproduct = machproduct;
	}

	@Column(name = "SHAREPRODUCT", length = 2)
	public String getShareproduct() {
		return this.shareproduct;
	}

	public void setShareproduct(String shareproduct) {
		this.shareproduct = shareproduct;
	}

	@Column(name = "HONGLEONGONEACCOUNT", length = 2)
	public String getHongleongoneaccount() {
		return this.hongleongoneaccount;
	}

	public void setHongleongoneaccount(String hongleongoneaccount) {
		this.hongleongoneaccount = hongleongoneaccount;
	}

	@Column(name = "PAYROLLACCOUNT", length = 2)
	public String getPayrollaccount() {
		return this.payrollaccount;
	}

	public void setPayrollaccount(String payrollaccount) {
		this.payrollaccount = payrollaccount;
	}

	@Column(name = "E_STATEMENT", length = 1)
	public String getEStatement() {
		return this.EStatement;
	}

	public void setEStatement(String EStatement) {
		this.EStatement = EStatement;
	}

	@Column(name = "HLB_STAFF", length = 1)
	public String getHlbStaff() {
		return this.hlbStaff;
	}

	public void setHlbStaff(String hlbStaff) {
		this.hlbStaff = hlbStaff;
	}

	@Column(name = "FILLER", length = 30)
	public String getFiller() {
		return this.filler;
	}

	public void setFiller(String filler) {
		this.filler = filler;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATEDATE", length = 7)
	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	@Column(name = "RAWRUNID", precision = 22, scale = 0)
	public BigDecimal getRawrunid() {
		return this.rawrunid;
	}

	public void setRawrunid(BigDecimal rawrunid) {
		this.rawrunid = rawrunid;
	}

}